package com.jews.securityleam.domain.account.service.impl;

import com.jews.securityleam.authentication.model.AuthResponse;
import com.jews.securityleam.domain.account.service.IAccountService;
import org.springframework.stereotype.Service;

/**
 * @author JewsChen
 * @title: AccountServiceImpl
 * @date 2023/6/19 16:06
 */
@Service
public class AccountServiceImpl implements IAccountService {

    @Override
    public AuthResponse assignTokenDirectByPhone(String phone) {
        AuthResponse response = new AuthResponse();
        // 省略查询用户
        // 省略生成token
        response.setUserName("abc");
        response.setToken("ssoxxxx");
        return response;
    }
}
